package day18.homework;

    interface Inner {
        void show();
    }

    class Outer {
        public static Inner method() {
            return new Inner() {
                @Override
                public void show() {
                    System.out.println("HelloWorld");
                }
            };
        }
    }

    class test2 {
        public static void main(String[] args) {
            Outer.method().show();
        }
}
